package com.example.badminton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("order_info")
public class Order {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long bookingId;
    private Long userId;
    private Double amount;
    private Integer status; // 0-未支付 1-已支付 2-已取消
    private Date createTime;
} 